package com.jinmdz.fmis.dao.model.coldstorage;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 冷藏设备查看信息
 *
 * @author LiCongLu
 * @date 2020-02-17 10:33
 */
@ApiModel(value = "冷藏设备查看信息", description = "冷藏设备查看信息")
public class ColdStorageEquipmentViewItem extends ColdStorageEquipmentItem {
    /**
     * 业务主键
     */
    @ApiModelProperty(value = "业务主键", name = "businessId", position = 1)
    private Integer businessId;

    /**
     * 预约入藏时间
     */
    @ApiModelProperty(value = "预约入藏时间", name = "appointmentInTime", position = 2)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date appointmentInTime;

    /**
     * 预约出藏时间
     */
    @ApiModelProperty(value = "预约出藏时间", name = "appointmentOutTime", position = 3)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date appointmentOutTime;

    /**
     * 流程状态编码
     */
    @ApiModelProperty(value = "流程状态编码", name = "processStateCode", position = 4)
    private Integer processStateCode;


    /**
     * 流程状态
     */
    @ApiModelProperty(value = "流程状态", name = "processState", position = 5)
    @AnDict(dict = EDictCode.REFRIGERATED_STATE, ref = "processStateCode")
    private String processState;

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 6)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 7)
    private String deadName;

    /**
     * 家属姓名
     */
    @ApiModelProperty(value = "家属姓名", name = "memberName", position = 8)
    private String memberName;

    public Integer getBusinessId() {
        return businessId;
    }

    public ColdStorageEquipmentViewItem setBusinessId(Integer businessId) {
        this.businessId = businessId;
        return this;
    }

    public Date getAppointmentInTime() {
        return appointmentInTime;
    }

    public ColdStorageEquipmentViewItem setAppointmentInTime(Date appointmentInTime) {
        this.appointmentInTime = appointmentInTime;
        return this;
    }

    public Date getAppointmentOutTime() {
        return appointmentOutTime;
    }

    public ColdStorageEquipmentViewItem setAppointmentOutTime(Date appointmentOutTime) {
        this.appointmentOutTime = appointmentOutTime;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public ColdStorageEquipmentViewItem setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public String getProcessState() {
        return processState;
    }

    public ColdStorageEquipmentViewItem setProcessState(String processState) {
        this.processState = processState;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public ColdStorageEquipmentViewItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public ColdStorageEquipmentViewItem setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public ColdStorageEquipmentViewItem setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }
}
